﻿using Rong.EasyExcel.EpPlus;

namespace Simple.Common.Office
{
    public static class OfficeServiceExtensions
    {
        public static IServiceCollection AddOfficeService(this IServiceCollection services)
        {
            // 使用 Npoi
            // services.AddNpoiExcel();
            //使用 EpPlus
            services.AddEpPlusExcel();
            return services;
        }
    }
}
